/*
 * Ball.h
 *
 *  Created on: 4 mai 2009
 *      Author: CHETIER
 */

#ifndef BALL_H_
#define BALL_H_

#include <stdlib.h>
#include <iostream>
#include <SDL/SDL.h>
#include <GL/GL.h>
#include <SDL/SDL_image.h>

class Ball
{
private:
	double _x;
	double _y;
	double _vX;
	double _vY;

public:
	Ball();
	virtual ~Ball();

	double getX() const
	{
		return _x;
	}

	void setX(double _x)
	{
		this->_x = _x;
	}

	double getY() const
	{
		return _y;
	}

	void setY(double _y)
	{
		this->_y = _y;
	}

	double getvX() const
	{
		return _vX;
	}

	void setvX(double _vX)
	{
		this->_vX = _vX;
	}

	double getvY() const
	{
		return _vY;
	}

	void setvY(double _vY)
	{
		this->_vY = _vY;
	}

	int Initialization();
	int Affiche();
};

#endif /* BALL_H_ */
